package dfbz.demo03;

public class son extends parsent {
    String name="小金";
    public son(String name){
        super(name);
    }
    public void method(){
        String name="小g";
        System.out.println("我是局部变量的name:"+name);
        System.out.println("当前类的name为"+this.name);
        System.out.println("我是两个儿子的父亲:"+super.name);
    }
}
